﻿<RichTextBox x:Class="BlazeNotes.UI.Controls.RichTextBoxExt"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             xmlns:custom="clr-namespace:BlazeNotes.Core.Commands.UI"
             d:DesignHeight="300" d:DesignWidth="300">
    <RichTextBox.CommandBindings>
        <CommandBinding Command="custom:CustomCommands.InsertCheckBox" Executed="OnInsertionChekcBoxExecute"></CommandBinding>
    </RichTextBox.CommandBindings>
    <RichTextBox.InputBindings>
        <KeyBinding Command="custom:CustomCommands.InsertCheckBox" Key="D1" Modifiers="Ctrl"/>
    </RichTextBox.InputBindings>
</RichTextBox>
